<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%>
<html>
<head>
    <script type="text/javascript">
        function doSearch() {
            grid.load({
                start_dt: $('#start_dt').val(),
                end_dt: $('#end_dt').val(),
                ins_cn_nm: $('#ins_cn_nm').val(),
                ins_cd: $('#ins_cd').val()
            });
        }
        var grid;
        $(document).ready(function() {
            grid = $("#logstlinsSumAnalysisTableId").jpgrid({
                url: "logstlinsSumAnalysisListJson.do",
                baseColumns: false,
                columns: [
                    {title: "交易日期", field: "STL_DT",width:100},
                    {title: "机构号", field: "INS_CD",width:100},
                    {title: "机构名称", field: "INS_CN_NM",width:200},
                    {title: "交易总额(快捷)", field: "STL_AMT",width:100},
                    {title: "交易笔数", field: "CNT",width:80}
                ]
            });
        });
    </script>
</head>
<body class="easyui-layout list_body"  >
<form id="logstlinsSumAnalysisForm" name="logstlinssumAnalysisForm">
    <div class="list_body_north" data-options="region:'north'"  border="false" >
        <div>
            <span>开始日期:</span>
            <input type="text" id="start_dt" name="start_dt" class="easyui-datebox" data-options="editable:false" value="${yestedayDate}"/>
            <span>结束日期:</span>
            <input type="text" id="end_dt" name="end_dt" class="easyui-datebox" data-options="editable:false" value="${yestedayDate}"/>
            <span>机构号:</span>
            <input id="ins_cd" type="text" name="ins_cd"  class="easyui-textbox"  >
            <span>机构名称:</span>
            <input id="ins_cn_nm" type="text" name="ins_cn_nm"  class="easyui-textbox"/>
            <a href="javascript:void(0)" iconCls="icon-search" class="easyui-linkbutton btn" onclick="doSearch()">查询</a>
            <a href="#" class="easyui-linkbutton btn" iconCls="icon-reload" onclick="resetForm() ">重置</a>
        </div>
        <!-- 自定义标签工具栏 -->
        <jiepos:buttonOperateTag menuCode="${menuCode}"></jiepos:buttonOperateTag>
    </div>
    <div data-options="region:'center'" border="false"  class="list_body_center">
        <!-- 表格 -->
        <table id="logstlinsSumAnalysisTableId" fit="true"></table>
    </div>
</form>
</body>
</html>
